#include "utils.h"
#include <stdio.h>
#include <stdlib.h>


#ifdef _DEBUG
#define new DEBUG_NEW
#endif

double randDouble(double low, double high)
{
	//Source: www.daniweb.com/software-development/cpp/threads/98545
	return (rand() / (static_cast<double>(RAND_MAX) + 1.0)) * (high - low) + low;
}